The Weighted Path Order for Termination of Term Rewriting

نویسندگان

  • Akihisa Yamada
  • Toshiki Sakabe
  • Naoki Nishida
چکیده

Termination of term rewrite systems (TRSs) has been widely studied and various automated termination provers have been developed. Nevertheless, there is still an increasing demand on the power and scalability of termination provers. This thesis aims at proposing a powerful method for automatically proving termination of TRSs, and moreover providing its efficient implementation. We propose a novel method called the weighted path order , which subsumes many existing techniques. In particular, we unify the three most celebrated and longstanding methods: the Knuth-Bendix order, the polynomial interpretation order, and the lexicographic path order. Further to incorporate the new order into the dependency pair framework, the modern standard of termination proving, we propose a new technique called partial status. In this setting, our method moreover subsumes the matrix interpretation method, as well as many other well-known techniques. Then we present how to encode our method as a satisfiability modulo theory (SMT) problem, for which various efficient solvers exist. Our method is implemented as a new termination prover NaTT. With only a few other techniques implemented, NaTT is the second strongest tool in the International Termination Competition (full-run 2013), demonstrating the power of our method. We also present new techniques for cooperating with SMT solvers which advance the efficiency of the tool; NaTT ran almost five times faster than any other tool participated in the competition. In addition, we consider extensions of the Knuth-Bendix order that cope with associativity and commutativity (AC) axioms. The orders of Steinbach and of Korovin and Voronkov are revisited; we enhance the former to a more powerful AC-compatible order and modify the latter to amend its lack of monotonicity on non-ground terms. We compare these variants by investigating computational complexity, as well as experiments on problems in termination and completion.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Higher-Order Path Orders Based on Computability

Simply-typed term rewriting systems (STRSs) are an extension of term rewriting systems. STRSs can be naturally handle higher order functions, which are widely used in existing functional programming languages. In this paper we design recursive and lexicographic path orders, which can efficiently prove the termination of STRSs. Moreover we discuss an application to the dependency pair and the ar...

متن کامل

Termination Proofs for Term Rewriting Systems by Lexicographic Path Orderings Imply Multiply Recursive Derivation Lengths

It is shown that a termination proof for a term rewriting system using a lexicographic path ordering yields a multiply recursive bound on the length of derivations, measured in the depth of the starting term. This result is essentially optimal since for every multiply recursive function f a rewrite system (which reduces under the lexicographic path ordering) can be found such that its derivatio...

متن کامل

A Termination Ordering for Higher Order Rewrite System

We present an extension of the recursive path ordering for the purpose of showing termination of higher order rewrite systems. Keeping close to the general path ordering of Dershowitz and Hoot, we demonstrate the necessary properties of the termination functions for our method to apply, thus describe a class of diierent orderings. We also give a counterexample to a previously published extensio...

متن کامل

Recursive Path Ordering for Infinite Labelled Rewrite Systems

Semantic labelling is a transformational technique for proving termination of Term Rewriting Systems (TRSs). Only its variant with finite sets of labels was used so far in tools for automatic termination proving and variants with infinite sets of labels were considered not to be suitable for automation. We show that such automation can be achieved for semantic labelling with natural numbers, in...

متن کامل

Automation of Recursive Path Ordering for Infinite Labelled Rewrite Systems

Semantic labelling is a transformational technique for proving termination of Term Rewriting Systems (TRSs). Only its variant with finite sets of labels was used so far in tools for automatic termination proving and variants with infinite sets of labels were considered not to be suitable for automation. We show that such automation can be achieved for semantic labelling with natural numbers, in...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2014